package com.wqi.chapter6;

public class Cartoon extends Drawing{

	Cartoon(){
		System.out.println("Cartoon Constructor");
	}
	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Cartoon toon = new Cartoon();

	}
}

class Art{
	Art(){
		System.out.println("Art Constructor");
	}
}

class Drawing extends Art{
	Drawing(){
		System.out.println("Drawing Constructor");
	}
}
